package control.module.vo.usermanage;

import com.fasterxml.jackson.annotation.JsonFormat;
import control.module.po.authmanage.Auth;
import control.module.po.authmanage.Role;
import control.module.po.usermanage.User;
import control.module.vo.authmanage.AuthVO;

import java.util.Date;
import java.util.List;

/**
 * Role auths vo
 *
 * @description:
 * @author: cyj
 * @date 2020 -10-26 08:50:09
 */
public class RoleAuthsVo extends Role {

    /**
     * Auth
     */
    private List<AuthVO> auth;

    /**
     * Create date
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
    private Date createDate;

    /**
     * Update date
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
    private Date updateDate;

    /**
     * Gets auth * @description:
     *
     * @return the auth
     */
    public List<AuthVO> getAuth() {
        return auth;
    }

    /**
     * Sets auth * @description:
     *
     * @param auth auth
     */
    public void setAuth(List<AuthVO> auth) {
        this.auth = auth;
    }
}
